package com.shop.entity;

import java.util.Objects;

//��Ʒ���������
public class GoodsThirdType {
    private int gtt_id;
    private int gst_id;
    private String gtt_name;


    public int getGtt_id() {
        return gtt_id;
    }

    public void setGtt_id(int gtt_id) {
        this.gtt_id = gtt_id;
    }

    public int getGst_id() {
        return gst_id;
    }

    public void setGst_id(int gst_id) {
        this.gst_id = gst_id;
    }

    public String getGtt_name() {
        return gtt_name;
    }

    public void setGtt_name(String gtt_name) {
        this.gtt_name = gtt_name;
    }


    public GoodsThirdType(int gtt_id, int gst_id, String gtt_name) {
        this.gtt_id = gtt_id;
        this.gst_id = gst_id;
        this.gtt_name = gtt_name;
    }

    public GoodsThirdType() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        GoodsThirdType that = (GoodsThirdType) o;
        return gtt_id == that.gtt_id &&
                gst_id == that.gst_id &&
                Objects.equals(gtt_name, that.gtt_name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(gtt_id, gst_id, gtt_name);
    }

    @Override
    public String toString() {
        return "GoodsThirdType{" +
                "gtt_id=" + gtt_id +
                ", gst_id=" + gst_id +
                ", gtt_name='" + gtt_name + '\'' +
                '}';
    }


}
